﻿using UnityEngine;
using System.Collections;
using Dict.DataModel;

namespace Room
{
    public class RCLODBox : RCLODBase
    {
        private string modelResName = null;
        public RCLODBox(RoomCharactor owner)
            : base(owner)
        {
            type = LODType.Box;
        }

        public void Init(string boxRes)
        {
            this.modelResName = boxRes;
        }

        public override void DoResume()
        {
            LoadModel(modelResName);
        }
        protected override void OnLoadModelComplete()
        {
            model.SetActive(true);
        }

    }
}

